com.epiphan.vga2usb
Class VideoMode

Object
  extended bycom.epiphan.vga2usb.VideoMode
All Implemented Interfaces:
Cloneable, Serializable

public final class VideoMode
extends Object
implements Serializable, Cloneable

Video mode descriptor.

See Also:
Serialized Form

Method Summary
 Object clone()
          Clones this object.
 boolean equals(Object obj)
          Compares this object with another.
 int getHeight()
          Gets the height of the active area of the screen screen in pixels.
 float getRefreshRate()
          Gets the refresh rate in Hz.
 int getWidth()
          Gets the width of the active area of the screen screen in pixels.
 int hashCode()
          Gets the hash code for this object.
 String toString()
          Returns a string representation of this object.
 
Methods inherited from class Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

clone

public Object clone()
Clones this object.

Returns:
The clone of this object

equals

public boolean equals(Object obj)
Compares this object with another.

Parameters:
obj - the object to compare with.
Returns:
true if the objects are equal, false otherwise.

getHeight

public int getHeight()
Gets the height of the active area of the screen screen in pixels.

Returns:
The height of the active area of the screen in pixels.

getRefreshRate

public float getRefreshRate()
Gets the refresh rate in Hz.

Returns:
The refresh rate in Hz.

getWidth

public int getWidth()
Gets the width of the active area of the screen screen in pixels.

Returns:
The width of the active area of the screen in pixels.

hashCode

public int hashCode()
Gets the hash code for this object.

Returns:
The hash code for this object.

toString

public String toString()
Returns a string representation of this object. This method is intended to be used only for debugging purposes, and the content and format of the returned string may vary between implementations. The returned string may be empty but may not be null.

Returns:
A string representation of this object.


Copyright © 2008-2012 Epiphan Systems Inc. All rights reserved.